home *** CD-ROM | disk | FTP | other *** search
- Path: phoenix.owl.de!not-for-mail
- Newsgroups: comp.sys.amiga.programmer
- References: <4gmlu0$3a2@sulla.cyberstore.ca> <4gnpvh$r7@maureen.teleport.com>
- From: "Frank Wille" <frank@phoenix.owl.de>
- Date: Wed, 28 Feb 1996 20:06:12 +0200
- X-NewsReader: IntuiNews 1.3b Beta 3 (5.11.95)
- Subject: Re: SAS ASM question, retry
- Message-ID: <42116573@phoenix.owl.de>
- Organization: Phantasm
-
- Stephan Schaem wrote on 24 Feb 1996 19:46:57 GMT
- about "Re: SAS ASM question, retry" :
-
-
- SS> Shawn Chin (daemauk@dsoe.com) wrote:
- SS> : In assembly, what does "set *-<label>" imply? (The SAS assembler
-
- SET assigns the value of an expression (*-<label> in you example)
- to a symbol, much like EQU does. The big difference is, that a
- set-symbol can change its value multiple times while the assembler
- makes its way through the source. With SET you can, for example,
- implement a counter:
-
- counter set counter+1
-
- The symbol '*' is a comment, when appearing in the first column of
- a line. In an operand, '*' is replaced by the current program
- counter value. So your SET-example will always assign the distance
- to <label>.
-
-
- SS> : doesn't like this expression, probably because the * is a comment
-
- In many assembler implementations, like SAS-Asm or PhxAss, the SET
- directive only permits *absolute* expressions.
-
-
- SS> : character) Is SET a compiler directive to be used in conjunction
- SS> : with LIST and NOLIST? I don't kow what LIST ad NOLIST are either.
- SS> : =)
-
- Yes, it's a directive, and you can apply it in any conjunction you
- want. ;)
-
-
- SS> Well, "LIST", "NOLIST" is usually there for debugging macro or the
-
- They control whether the following source text will go to a listing
- file, if generated, or not.
-
-
- SS> assembler. It turn on disassembly output.. I dunno what this "SET"
- SS> directive is.
-
- See above.
-
-
- -- _
- _ // Frank EMail: frank@phoenix.owl.de
- \X/ IRC: Phx @ #amiga(ger)
-
-